package entity;

public class Card {
  private int userId;
   private String info;

    public Card() {
    }

    public Card(int userId, String info) {
        this.userId = userId;
        this.info = info;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "Card{" +
                "userId=" + userId +
                ", info='" + info + '\'' +
                '}';
    }
}
